Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛(rdfa) fix errors on Google Search Console #2445

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

igobranco
Copy link
Collaborator

@igobranco igobranco commented Jun 21, 2024

Google Search Console requires more information for the RDFa information.

Fixes 2 of 3 problems identified by #2444:

  • Missing field 'hasCourseInstance'
  • Either 'courseWorkload' or 'courseSchedule' should be specified (in 'hasCourseInstance')

To validate copy paste a course page html code to the Google Search Console validator:
https://search.google.com/test/rich-results/result

@igobranco igobranco self-assigned this Jun 21, 2024
@igobranco
Copy link
Collaborator Author

@jbpenrath I've updated this PR description, because this PR only fixes 2 of 3 problems identified by #2444. Can you review again so we can merge it?

@igobranco igobranco force-pushed the igobranco/issues/2444/fix-rdfa branch 2 times, most recently from 38a9939 to c32cd7a Compare July 2, 2024 13:23
@igobranco
Copy link
Collaborator Author

@jbpenrath
I have remember that course runs can be hidden with the catalog_visibility field. I have added an if to skip those runs on the RDFa.
Additionally, I have found out that the course enrollment_count total, wasn't skipping the hidden runs...

I've also included a new test for the courseWorkload RDFa.

@igobranco
Copy link
Collaborator Author

@jbpenrath do you want me to split the commit into 2 different fixes?

@jbpenrath
Copy link
Member

@jbpenrath do you want me to split the commit into 2 different fixes?

Yes good idea!

@igobranco igobranco force-pushed the igobranco/issues/2444/fix-rdfa branch 3 times, most recently from af3bfd6 to bb7babc Compare July 3, 2024 10:37
@igobranco
Copy link
Collaborator Author

@jbpenrath do you want me to split the commit into 2 different fixes?

Yes good idea!

@jbpenrath I've splitted the commits! I think everything is done! Please done a last review so we can merge it!
Thanks you with your effort on this!

@igobranco igobranco requested a review from jbpenrath July 3, 2024 11:24
Copy link
Member

@jbpenrath jbpenrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@igobranco igobranco enabled auto-merge (rebase) July 3, 2024 13:48
The hidden course runs enrollment count shouldn't be included on the
course level enrollment count.
Google Search Console requires more information for the RDFa information.
Fixed errors:
- Missing field 'hasCourseInstance'
- Either 'courseWorkload' or 'courseSchedule' should be specified
  (in 'hasCourseInstance')

related to #2444
@igobranco igobranco force-pushed the igobranco/issues/2444/fix-rdfa branch from bb7babc to 8cf5460 Compare July 3, 2024 13:48
@igobranco igobranco merged commit 7962fcf into master Jul 3, 2024
20 checks passed
@igobranco igobranco deleted the igobranco/issues/2444/fix-rdfa branch July 3, 2024 14:06
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Jul 26, 2024
Added offer and price fields to courseRun displayed at admin view

fix openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Jul 26, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Jul 26, 2024
Make offer and price editable using course run sync API

related to openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Jul 29, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Aug 2, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Aug 2, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
JoaoGarcao added a commit to JoaoGarcao/richie-estagio that referenced this pull request Aug 6, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
igobranco added a commit to JoaoGarcao/richie-estagio that referenced this pull request Nov 5, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445

Co-authored-by: Ivo Branco <[email protected]>
igobranco added a commit to JoaoGarcao/richie-estagio that referenced this pull request Nov 5, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445

Co-authored-by: Ivo Branco <[email protected]>
igobranco pushed a commit to JoaoGarcao/richie-estagio that referenced this pull request Nov 7, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
Tiago-Salles added a commit to Tiago-Salles/richie that referenced this pull request Nov 7, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
Tiago-Salles added a commit to Tiago-Salles/richie that referenced this pull request Nov 8, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
Tiago-Salles added a commit to Tiago-Salles/richie that referenced this pull request Nov 13, 2024
Add offer and price fields to courseRun displayed at admin view

related to openfun#2445
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants